import axios from '../../utils/request'
// 创建日志信息
export const messageCreate = (data) =>
{
    return axios({
        method: 'post',
        url: '/message/create',
        data
    })
}
// 编辑日志
export const messageUpdate = (data) =>
{
    return axios({
        method: 'post',
        url: '/message/update',
        data
    })
}
// 日志列表
export const messageRead = (data) =>
{
    return axios({
        method: 'post',
        url: '/message/read',
        data
    })
}
// 删除日志
export const messageDelete = (data) =>
{
    return axios({
        method: 'post',
        url: '/message/delete',
        data
    })
}
// 根据消息ID查询详情内容
export const messageByID = (data) =>
{
    return axios({
        method: 'post',
        url: '/message/getMessageByID',
        data
    })
}
